var exec = require('cordova/exec');

exports.coolMethod = function (arg0, success, error) {
    exec(success, error, 'AmapLocationPlugin', 'coolMethod', [arg0]);
};
exports.getLocation = function(success,error){
    exec(success,error,'AmapLocationPlugin','getLocation',[]);
}